package com.jie.client.service.ui.view.item;

import javafx.beans.property.SimpleStringProperty;
import lombok.Data;

/**
 * @author XieZhiJie
 * @date 2022/04/29 14:28
 */
public class FollowItem {

    private final SimpleStringProperty userId;
    private final SimpleStringProperty userIdent;
    private final SimpleStringProperty remark;

    private final String userAccount;

    private final String username;

    public FollowItem(String userId, String userAccount, String username, String userIdent, String remark) {
        this.userId = new SimpleStringProperty(userId);
        this.userAccount = userAccount;
        this.username = username;
        this.userIdent = new SimpleStringProperty(userIdent);
        this.remark = new SimpleStringProperty(remark);
    }

    public String getUserId() {
        return userId.get();
    }

    public SimpleStringProperty userIdProperty() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId.set(userId);
    }

    public String getUserIdent() {
        return userIdent.get();
    }

    public SimpleStringProperty userIdentProperty() {
        return userIdent;
    }

    public void setUserIdent(String userIdent) {
        this.userIdent.set(userIdent);
    }

    public String getRemark() {
        return remark.get();
    }

    public SimpleStringProperty remarkProperty() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark.set(remark);
    }

    public String getUserAccount() {
        return userAccount;
    }

    public String getUsername() {
        return username;
    }

}
